package com.bwie.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.StadiumMapper;
import com.bwie.pojo.Stadium;
import com.bwie.service.StadiumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StadiumServiceImpl extends ServiceImpl<StadiumMapper, Stadium> implements StadiumService {

    @Autowired
    private StadiumMapper stadiumMapper;

    @Override
    public List<Stadium> stadiumList() {
        return stadiumMapper.stadiumList();
    }
}
